﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="DTCostRecollect_ExtendForm.aspx.vb" Inherits="PubProject.DTCostRecollect_ExtendForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>动态成本监控回顾</title>
    <script language="javascript">
		   
			 
			/*------------------------------------------------------------------*/
			//表单接口函数，需扩展
			//1、Fill	--	表单填充
			//2、GetXML --	表单取数
			//3、Valid	--	表单校验
			/*------------------------------------------------------------------*/
			//屏避右键
			function document.oncontextmenu()
			{
				var s = event.srcElement.tagName;
				// For Selection Ranges, s will be UNDEFINED
				if (s && s != "INPUT" && s != "TEXTAREA" || event.srcElement.disabled || document.selection.createRange().text.length == 0)
				{
					event.returnValue = false;
				}
			}
			//功能：表单填充
			//editableDomainList	当前步骤可编辑域
			//invisibleDomainList   当前步骤不可见域
			//domainXML				域XML
			function Fill(editableDomainList,invisibleDomainList,domainXML)
			{
				var xmlDom = new ActiveXObject("Microsoft.XMLDOM"); 
				if (domainXML && domainXML.length>0)	
				{		
					xmlDom.async=false; 
					xmlDom.loadXML(domainXML);
					
					if(xmlDom.parseError.errorCode != 0) 
						xmlDom = null; 
				}
				else
				{
					xmlDom = null;
				}									
				
				var sOid = xmlDom.selectSingleNode("/BusinessType").attributes.getNamedItem("BusinessGUID").value;
				var sProjectGuid = xmlDom.selectSingleNode("/BusinessType/Item/Domain[@name='项目GUID']").text;				
				//相关附件
				if (sOid != "")
				{
				    //http://localhost:9005/cbgl/DTCB/DTCostRecollect_Edit.aspx?mode=3&oid=133db5f3-84af-45f8-93d9-d3dbd191bc9c&ProjectGUID=285875ae-4e4b-4e5d-8a49-a6132e1d915d&IsDetails=1&Reflesh=1&funcid=02010601&IsHideMenu=1
				    
					document.all["appIfraFJ"].src = "/cbgl/DTCB/DTCostRecollect_Edit.aspx?mode=3&oid=" + escape(sOid) + "ProjectGUID=" + escape(sProjectGuid) + "&IsDetails=1&Reflesh=1&funcid=02010601&IsHideMenu=1";
				}
				
				                
			}
			
			//功能：表单取数
			//参数：取值前的domainxml
			//返回值 取值后的domainxml
			function GetXML(domainXML)
			{
				var xmlDom = new ActiveXObject("Microsoft.XMLDOM");
				 
				xmlDom.async=false;
				xmlDom.loadXML(domainXML);
						
				if(xmlDom.parseError.errorCode != 0) return "";				 
				
				return xmlDom.xml;	
			}
			
			//功能：表单校验
			//参数：可编辑域列表
			function Valid(editableDomainList)
			{
				return true;
			}
			
					
			
		</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <TABLE width="100%">
				<TBODY>
					<TR>
						<TD><!-- 表单 -->
							<P align="center" id="pTitle"><FONT style="FONT-SIZE: 16px"><STRONG>动态成本回顾审批表</STRONG></FONT></P>
							<P align="center">
								<TABLE style="TABLE-LAYOUT: fixed; WIDTH: 90%; BORDER-COLLAPSE: collapse" borderColor="#517dbf"
									cellSpacing="2" cellPadding="3" align="center" bgColor="#ffffff" border="1">
									<colgroup>
										<col width="100">
										<col>
										<col width="100">
										<col>										
									</colgroup>									
																		
									<TR>
										<TD COLSPAN="4">
											<table width="100%" cellspacing="0" cellpadding="3" style="table-layout:fixed;">
												
												<TR height="100%">
													<TD>
														<iframe id="appIfraFJ" src="" width="100%" height="100%" frameborder="0" scrolling="auto"></iframe>
													</TD>
												</TR>
											</table>
										</TD>
									</TR>
								</TABLE>
							</P>
						</TD>
					</TR>					
				</TBODY>
			</TABLE>
    </div>
    </form>
</body>
</html>
